servicebill
Click here for a complete list of operations.
selectpatient
Test
To test the operation using the HTTP POST protocol, click the 'Invoke' button.SOAP 1.1
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /webmethod/servicebill.asmx HTTP/1.1
Host: ayurcare_karama.docmate.app
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://tempuri.org/selectpatient"
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<selectpatient xmlns="http://tempuri.org/">
<patientval>int</patientval>
</selectpatient>
</soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<selectpatientResponse xmlns="http://tempuri.org/">
<selectpatientResult>
<patientdetail>
<PatientId>long</PatientId>
<FileNo>string</FileNo>
<Date>dateTime</Date>
<FirstName>string</FirstName>
<MiddleName>string</MiddleName>
<LastName>string</LastName>
<Sex>string</Sex>
<DOB>dateTime</DOB>
<Address>string</Address>
<Province>string</Province>
<ZIPCode>string</ZIPCode>
<Phone>string</Phone>
<Mobile>string</Mobile>
<Email>string</Email>
<IqamaNo>string</IqamaNo>
<NationalityId>int</NationalityId>
<IQAMADocumentPath>string</IQAMADocumentPath>
<PolicyDocumentPath>string</PolicyDocumentPath>
<Active>boolean</Active>
<VisitStatus>string</VisitStatus>
<DoctorId>long</DoctorId>
<PatientAppointmentID>long</PatientAppointmentID>
<RegistrationTime>string</RegistrationTime>
<FileType>string</FileType>
<test>string</test>
<ReferralClinicId>int</ReferralClinicId>
<ReferralDoctorId>int</ReferralDoctorId>
<Photo>string</Photo>
<MaritalStatus>string</MaritalStatus>
<Occupation>string</Occupation>
<WorkStatus>string</WorkStatus>
<FamilyID>int</FamilyID>
<DeActivate>boolean</DeActivate>
<ProofIdentity>string</ProofIdentity>
<CountryPermanenResidance>int</CountryPermanenResidance>
<KnowAboutUsId>int</KnowAboutUsId>
<Branch>int</Branch>
<Patient_Class>string</Patient_Class>
<Patient_Language>string</Patient_Language>
<MSC_Code>string</MSC_Code>
<LAC_Code>string</LAC_Code>
<RGC_Code>string</RGC_Code>
<KinName>string</KinName>
<KinContactNo>string</KinContactNo>
<RSC_Code>string</RSC_Code>
<opc_optout>string</opc_optout>
<opd_optdate>dateTime</opd_optdate>
<kinLastName>string</kinLastName>
<opc_mobcountrycode>string</opc_mobcountrycode>
<opc_kinmobcountrycode>string</opc_kinmobcountrycode>
<Remarks>string</Remarks>
<Referralfield>int</Referralfield>
<Citizenship>int</Citizenship>
<Patienttype>string</Patienttype>
<PassportNo>string</PassportNo>
<Signature>string</Signature>
<ResidentType>string</ResidentType>
<Medtype>int</Medtype>
<EnteredBy>int</EnteredBy>
<EnteredOn>dateTime</EnteredOn>
<DeletedBy>int</DeletedBy>
<DeletedOn>dateTime</DeletedOn>
<InActive>boolean</InActive>
<Status>int</Status>
<SendSMS>boolean</SendSMS>
<SendEmail>boolean</SendEmail>
<PatBitrixId>int</PatBitrixId>
<Companyname>int</Companyname>
<PatientLocation>string</PatientLocation>
</patientdetail>
<appointment>
<PatientAppointmentID>long</PatientAppointmentID>
<VisitDate>dateTime</VisitDate>
<DoctorId>int</DoctorId>
<TokenNo>string</TokenNo>
<FileNo>string</FileNo>
<Date>dateTime</Date>
<AppointmentNo>string</AppointmentNo>
<FirstName>string</FirstName>
<MiddleName>string</MiddleName>
<LastName>string</LastName>
<DOB>dateTime</DOB>
<Sex>string</Sex>
<Address>string</Address>
<Province>string</Province>
<ZIPCode>string</ZIPCode>
<NationalityId>int</NationalityId>
<CivilId>string</CivilId>
<Phone>string</Phone>
<Mobile>string</Mobile>
<Email>string</Email>
<Active>boolean</Active>
<IsConsulted>boolean</IsConsulted>
<VisitStatus>string</VisitStatus>
<eventstart>dateTime</eventstart>
<eventend>dateTime</eventend>
<PatientType>string</PatientType>
<WalkInTime>string</WalkInTime>
<Reason>string</Reason>
<ReferralClinicId>int</ReferralClinicId>
<ReferralDoctorId>int</ReferralDoctorId>
<ConsentPath>string</ConsentPath>
<InActive>boolean</InActive>
<SessionCode>string</SessionCode>
<ServiceTaken>int</ServiceTaken>
<SessionClose>string</SessionClose>
<EnteredBy>int</EnteredBy>
<EnteredOn>dateTime</EnteredOn>
<CancelledBy>int</CancelledBy>
<CancelledOn>dateTime</CancelledOn>
<SessionID>int</SessionID>
<UpdatedBy>int</UpdatedBy>
<UpdatedOn>dateTime</UpdatedOn>
<TreatmentDelete>boolean</TreatmentDelete>
<Reference>string</Reference>
<DeActivate>boolean</DeActivate>
<CancelReason>string</CancelReason>
<BranchCode>string</BranchCode>
<LeadId>int</LeadId>
<TechnologistId>int</TechnologistId>
<BeforeUpdating>string</BeforeUpdating>
<IS_LIS_Updated>boolean</IS_LIS_Updated>
<LIS_VisitID>string</LIS_VisitID>
<LIS_Status>string</LIS_Status>
<LIS_ReportURL>string</LIS_ReportURL>
<TechnologistStart>dateTime</TechnologistStart>
<TechnologistEnd>dateTime</TechnologistEnd>
<WitnessID>int</WitnessID>
<okadoclink>string</okadoclink>
<Is_SendTo_MotherLab>boolean</Is_SendTo_MotherLab>
<LIS_UID>guid</LIS_UID>
<Is_SendTo_Nabidh>boolean</Is_SendTo_Nabidh>
<appldate>dateTime</appldate>
<Parentappointmentid>long</Parentappointmentid>
<parenttype>string</parenttype>
<IsTransferCreation>boolean</IsTransferCreation>
<IsAddedToBetrix>boolean</IsAddedToBetrix>
<PatBitrixDealId>int</PatBitrixDealId>
<PatBitrixID>int</PatBitrixID>
</appointment>
<cards>
<patientcards>
<UploadedDate>dateTime</UploadedDate>
<ImageId>string</ImageId>
<Description>string</Description>
<ImageUrl>string</ImageUrl>
<ThumbNailImageUrl>string</ThumbNailImageUrl>
<PatientFileId>int</PatientFileId>
</patientcards>
<patientcards>
<UploadedDate>dateTime</UploadedDate>
<ImageId>string</ImageId>
<Description>string</Description>
<ImageUrl>string</ImageUrl>
<ThumbNailImageUrl>string</ThumbNailImageUrl>
<PatientFileId>int</PatientFileId>
</patientcards>
</cards>
<deduct>
<patientdeduction>
<deductid>int</deductid>
<SpecialityId>int</SpecialityId>
<Speciality>string</Speciality>
<Deduction>decimal</Deduction>
<EnteredOn>dateTime</EnteredOn>
<Active>boolean</Active>
</patientdeduction>
<patientdeduction>
<deductid>int</deductid>
<SpecialityId>int</SpecialityId>
<Speciality>string</Speciality>
<Deduction>decimal</Deduction>
<EnteredOn>dateTime</EnteredOn>
<Active>boolean</Active>
</patientdeduction>
</deduct>
<deductservice>
<patientdeductionsservice>
<serviceid>int</serviceid>
<SpecialityId>string</SpecialityId>
<Speciality>string</Speciality>
<Deduction>decimal</Deduction>
<EnteredOn>dateTime</EnteredOn>
<Active>boolean</Active>
</patientdeductionsservice>
<patientdeductionsservice>
<serviceid>int</serviceid>
<SpecialityId>string</SpecialityId>
<Speciality>string</Speciality>
<Deduction>decimal</Deduction>
<EnteredOn>dateTime</EnteredOn>
<Active>boolean</Active>
</patientdeductionsservice>
</deductservice>
<policy>
<PatientId>long</PatientId>
<PolicyId>long</PolicyId>
<PlanTypeId>string</PlanTypeId>
<CardNo>string</CardNo>
<InActive>boolean</InActive>
<ExpiryDate>dateTime</ExpiryDate>
<CompanyType>int</CompanyType>
<CompanyId>int</CompanyId>
<PlanType>string</PlanType>
<Deductible>decimal</Deductible>
<CertificateNo>string</CertificateNo>
<DependentNo>string</DependentNo>
<ClaimFormNo>string</ClaimFormNo>
<InsurerID>string</InsurerID>
<OP_Co_Pay>decimal</OP_Co_Pay>
<Dental_Co_Pay>decimal</Dental_Co_Pay>
<Maternity_Co_Pay>decimal</Maternity_Co_Pay>
<Optical_Co_Pay>decimal</Optical_Co_Pay>
<MinAmount>decimal</MinAmount>
<MaxAmount>decimal</MaxAmount>
<Laboratory_Co_Pay>decimal</Laboratory_Co_Pay>
<GeneralProcedure_Co_Pay>decimal</GeneralProcedure_Co_Pay>
<Radiology_Co_Pay>decimal</Radiology_Co_Pay>
<Vaccination_Co_Pay>decimal</Vaccination_Co_Pay>
<ENT_Co_Pay>decimal</ENT_Co_Pay>
<DRUG_Co_Pay>decimal</DRUG_Co_Pay>
<REIMBURSEMENT_Co_Pay>decimal</REIMBURSEMENT_Co_Pay>
<OP_Co_Pay_Amt>decimal</OP_Co_Pay_Amt>
<Dental_Co_Pay_Amt>decimal</Dental_Co_Pay_Amt>
<Maternity_Co_Pay_Amt>decimal</Maternity_Co_Pay_Amt>
<Optical_Co_Pay_Amt>decimal</Optical_Co_Pay_Amt>
<Laboratory_Co_Pay_Amt>decimal</Laboratory_Co_Pay_Amt>
<GeneralProcedure_Co_Pay_Amt>decimal</GeneralProcedure_Co_Pay_Amt>
<Radiology_Co_Pay_Amt>decimal</Radiology_Co_Pay_Amt>
<Vaccination_Co_Pay_Amt>decimal</Vaccination_Co_Pay_Amt>
<ENT_Co_Pay_Amt>decimal</ENT_Co_Pay_Amt>
<DRUG_Co_Pay_Amt>decimal</DRUG_Co_Pay_Amt>
<REIMBURSEMENT_Co_Pay_Amt>decimal</REIMBURSEMENT_Co_Pay_Amt>
<UpdatedBy>int</UpdatedBy>
<UpdatedOn>dateTime</UpdatedOn>
<PatientPolicyId>int</PatientPolicyId>
<Consumables_Co_Pay>decimal</Consumables_Co_Pay>
<Consumables_Co_Pay_Amt>decimal</Consumables_Co_Pay_Amt>
<FACILITYTYPE>int</FACILITYTYPE>
</policy>
<duemessage>string</duemessage>
</selectpatientResult>
</selectpatientResponse>
</soap:Body>
</soap:Envelope>
SOAP 1.2
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /webmethod/servicebill.asmx HTTP/1.1
Host: ayurcare_karama.docmate.app
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<selectpatient xmlns="http://tempuri.org/">
<patientval>int</patientval>
</selectpatient>
</soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
<soap12:Body>
<selectpatientResponse xmlns="http://tempuri.org/">
<selectpatientResult>
<patientdetail>
<PatientId>long</PatientId>
<FileNo>string</FileNo>
<Date>dateTime</Date>
<FirstName>string</FirstName>
<MiddleName>string</MiddleName>
<LastName>string</LastName>
<Sex>string</Sex>
<DOB>dateTime</DOB>
<Address>string</Address>
<Province>string</Province>
<ZIPCode>string</ZIPCode>
<Phone>string</Phone>
<Mobile>string</Mobile>
<Email>string</Email>
<IqamaNo>string</IqamaNo>
<NationalityId>int</NationalityId>
<IQAMADocumentPath>string</IQAMADocumentPath>
<PolicyDocumentPath>string</PolicyDocumentPath>
<Active>boolean</Active>
<VisitStatus>string</VisitStatus>
<DoctorId>long</DoctorId>
<PatientAppointmentID>long</PatientAppointmentID>
<RegistrationTime>string</RegistrationTime>
<FileType>string</FileType>
<test>string</test>
<ReferralClinicId>int</ReferralClinicId>
<ReferralDoctorId>int</ReferralDoctorId>
<Photo>string</Photo>
<MaritalStatus>string</MaritalStatus>
<Occupation>string</Occupation>
<WorkStatus>string</WorkStatus>
<FamilyID>int</FamilyID>
<DeActivate>boolean</DeActivate>
<ProofIdentity>string</ProofIdentity>
<CountryPermanenResidance>int</CountryPermanenResidance>
<KnowAboutUsId>int</KnowAboutUsId>
<Branch>int</Branch>
<Patient_Class>string</Patient_Class>
<Patient_Language>string</Patient_Language>
<MSC_Code>string</MSC_Code>
<LAC_Code>string</LAC_Code>
<RGC_Code>string</RGC_Code>
<KinName>string</KinName>
<KinContactNo>string</KinContactNo>
<RSC_Code>string</RSC_Code>
<opc_optout>string</opc_optout>
<opd_optdate>dateTime</opd_optdate>
<kinLastName>string</kinLastName>
<opc_mobcountrycode>string</opc_mobcountrycode>
<opc_kinmobcountrycode>string</opc_kinmobcountrycode>
<Remarks>string</Remarks>
<Referralfield>int</Referralfield>
<Citizenship>int</Citizenship>
<Patienttype>string</Patienttype>
<PassportNo>string</PassportNo>
<Signature>string</Signature>
<ResidentType>string</ResidentType>
<Medtype>int</Medtype>
<EnteredBy>int</EnteredBy>
<EnteredOn>dateTime</EnteredOn>
<DeletedBy>int</DeletedBy>
<DeletedOn>dateTime</DeletedOn>
<InActive>boolean</InActive>
<Status>int</Status>
<SendSMS>boolean</SendSMS>
<SendEmail>boolean</SendEmail>
<PatBitrixId>int</PatBitrixId>
<Companyname>int</Companyname>
<PatientLocation>string</PatientLocation>
</patientdetail>
<appointment>
<PatientAppointmentID>long</PatientAppointmentID>
<VisitDate>dateTime</VisitDate>
<DoctorId>int</DoctorId>
<TokenNo>string</TokenNo>
<FileNo>string</FileNo>
<Date>dateTime</Date>
<AppointmentNo>string</AppointmentNo>
<FirstName>string</FirstName>
<MiddleName>string</MiddleName>
<LastName>string</LastName>
<DOB>dateTime</DOB>
<Sex>string</Sex>
<Address>string</Address>
<Province>string</Province>
<ZIPCode>string</ZIPCode>
<NationalityId>int</NationalityId>
<CivilId>string</CivilId>
<Phone>string</Phone>
<Mobile>string</Mobile>
<Email>string</Email>
<Active>boolean</Active>
<IsConsulted>boolean</IsConsulted>
<VisitStatus>string</VisitStatus>
<eventstart>dateTime</eventstart>
<eventend>dateTime</eventend>
<PatientType>string</PatientType>
<WalkInTime>string</WalkInTime>
<Reason>string</Reason>
<ReferralClinicId>int</ReferralClinicId>
<ReferralDoctorId>int</ReferralDoctorId>
<ConsentPath>string</ConsentPath>
<InActive>boolean</InActive>
<SessionCode>string</SessionCode>
<ServiceTaken>int</ServiceTaken>
<SessionClose>string</SessionClose>
<EnteredBy>int</EnteredBy>
<EnteredOn>dateTime</EnteredOn>
<CancelledBy>int</CancelledBy>
<CancelledOn>dateTime</CancelledOn>
<SessionID>int</SessionID>
<UpdatedBy>int</UpdatedBy>
<UpdatedOn>dateTime</UpdatedOn>
<TreatmentDelete>boolean</TreatmentDelete>
<Reference>string</Reference>
<DeActivate>boolean</DeActivate>
<CancelReason>string</CancelReason>
<BranchCode>string</BranchCode>
<LeadId>int</LeadId>
<TechnologistId>int</TechnologistId>
<BeforeUpdating>string</BeforeUpdating>
<IS_LIS_Updated>boolean</IS_LIS_Updated>
<LIS_VisitID>string</LIS_VisitID>
<LIS_Status>string</LIS_Status>
<LIS_ReportURL>string</LIS_ReportURL>
<TechnologistStart>dateTime</TechnologistStart>
<TechnologistEnd>dateTime</TechnologistEnd>
<WitnessID>int</WitnessID>
<okadoclink>string</okadoclink>
<Is_SendTo_MotherLab>boolean</Is_SendTo_MotherLab>
<LIS_UID>guid</LIS_UID>
<Is_SendTo_Nabidh>boolean</Is_SendTo_Nabidh>
<appldate>dateTime</appldate>
<Parentappointmentid>long</Parentappointmentid>
<parenttype>string</parenttype>
<IsTransferCreation>boolean</IsTransferCreation>
<IsAddedToBetrix>boolean</IsAddedToBetrix>
<PatBitrixDealId>int</PatBitrixDealId>
<PatBitrixID>int</PatBitrixID>
</appointment>
<cards>
<patientcards>
<UploadedDate>dateTime</UploadedDate>
<ImageId>string</ImageId>
<Description>string</Description>
<ImageUrl>string</ImageUrl>
<ThumbNailImageUrl>string</ThumbNailImageUrl>
<PatientFileId>int</PatientFileId>
</patientcards>
<patientcards>
<UploadedDate>dateTime</UploadedDate>
<ImageId>string</ImageId>
<Description>string</Description>
<ImageUrl>string</ImageUrl>
<ThumbNailImageUrl>string</ThumbNailImageUrl>
<PatientFileId>int</PatientFileId>
</patientcards>
</cards>
<deduct>
<patientdeduction>
<deductid>int</deductid>
<SpecialityId>int</SpecialityId>
<Speciality>string</Speciality>
<Deduction>decimal</Deduction>
<EnteredOn>dateTime</EnteredOn>
<Active>boolean</Active>
</patientdeduction>
<patientdeduction>
<deductid>int</deductid>
<SpecialityId>int</SpecialityId>
<Speciality>string</Speciality>
<Deduction>decimal</Deduction>
<EnteredOn>dateTime</EnteredOn>
<Active>boolean</Active>
</patientdeduction>
</deduct>
<deductservice>
<patientdeductionsservice>
<serviceid>int</serviceid>
<SpecialityId>string</SpecialityId>
<Speciality>string</Speciality>
<Deduction>decimal</Deduction>
<EnteredOn>dateTime</EnteredOn>
<Active>boolean</Active>
</patientdeductionsservice>
<patientdeductionsservice>
<serviceid>int</serviceid>
<SpecialityId>string</SpecialityId>
<Speciality>string</Speciality>
<Deduction>decimal</Deduction>
<EnteredOn>dateTime</EnteredOn>
<Active>boolean</Active>
</patientdeductionsservice>
</deductservice>
<policy>
<PatientId>long</PatientId>
<PolicyId>long</PolicyId>
<PlanTypeId>string</PlanTypeId>
<CardNo>string</CardNo>
<InActive>boolean</InActive>
<ExpiryDate>dateTime</ExpiryDate>
<CompanyType>int</CompanyType>
<CompanyId>int</CompanyId>
<PlanType>string</PlanType>
<Deductible>decimal</Deductible>
<CertificateNo>string</CertificateNo>
<DependentNo>string</DependentNo>
<ClaimFormNo>string</ClaimFormNo>
<InsurerID>string</InsurerID>
<OP_Co_Pay>decimal</OP_Co_Pay>
<Dental_Co_Pay>decimal</Dental_Co_Pay>
<Maternity_Co_Pay>decimal</Maternity_Co_Pay>
<Optical_Co_Pay>decimal</Optical_Co_Pay>
<MinAmount>decimal</MinAmount>
<MaxAmount>decimal</MaxAmount>
<Laboratory_Co_Pay>decimal</Laboratory_Co_Pay>
<GeneralProcedure_Co_Pay>decimal</GeneralProcedure_Co_Pay>
<Radiology_Co_Pay>decimal</Radiology_Co_Pay>
<Vaccination_Co_Pay>decimal</Vaccination_Co_Pay>
<ENT_Co_Pay>decimal</ENT_Co_Pay>
<DRUG_Co_Pay>decimal</DRUG_Co_Pay>
<REIMBURSEMENT_Co_Pay>decimal</REIMBURSEMENT_Co_Pay>
<OP_Co_Pay_Amt>decimal</OP_Co_Pay_Amt>
<Dental_Co_Pay_Amt>decimal</Dental_Co_Pay_Amt>
<Maternity_Co_Pay_Amt>decimal</Maternity_Co_Pay_Amt>
<Optical_Co_Pay_Amt>decimal</Optical_Co_Pay_Amt>
<Laboratory_Co_Pay_Amt>decimal</Laboratory_Co_Pay_Amt>
<GeneralProcedure_Co_Pay_Amt>decimal</GeneralProcedure_Co_Pay_Amt>
<Radiology_Co_Pay_Amt>decimal</Radiology_Co_Pay_Amt>
<Vaccination_Co_Pay_Amt>decimal</Vaccination_Co_Pay_Amt>
<ENT_Co_Pay_Amt>decimal</ENT_Co_Pay_Amt>
<DRUG_Co_Pay_Amt>decimal</DRUG_Co_Pay_Amt>
<REIMBURSEMENT_Co_Pay_Amt>decimal</REIMBURSEMENT_Co_Pay_Amt>
<UpdatedBy>int</UpdatedBy>
<UpdatedOn>dateTime</UpdatedOn>
<PatientPolicyId>int</PatientPolicyId>
<Consumables_Co_Pay>decimal</Consumables_Co_Pay>
<Consumables_Co_Pay_Amt>decimal</Consumables_Co_Pay_Amt>
<FACILITYTYPE>int</FACILITYTYPE>
</policy>
<duemessage>string</duemessage>
</selectpatientResult>
</selectpatientResponse>
</soap12:Body>
</soap12:Envelope>
HTTP GET
The following is a sample HTTP GET request and response. The placeholders shown need to be replaced with actual values.
GET /webmethod/servicebill.asmx/selectpatient?patientval=string HTTP/1.1 Host: ayurcare_karama.docmate.app
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<patientregister xmlns="http://tempuri.org/">
<patientdetail>
<PatientId>long</PatientId>
<FileNo>string</FileNo>
<Date>dateTime</Date>
<FirstName>string</FirstName>
<MiddleName>string</MiddleName>
<LastName>string</LastName>
<Sex>string</Sex>
<DOB>dateTime</DOB>
<Address>string</Address>
<Province>string</Province>
<ZIPCode>string</ZIPCode>
<Phone>string</Phone>
<Mobile>string</Mobile>
<Email>string</Email>
<IqamaNo>string</IqamaNo>
<NationalityId>int</NationalityId>
<IQAMADocumentPath>string</IQAMADocumentPath>
<PolicyDocumentPath>string</PolicyDocumentPath>
<Active>boolean</Active>
<VisitStatus>string</VisitStatus>
<DoctorId>long</DoctorId>
<PatientAppointmentID>long</PatientAppointmentID>
<RegistrationTime>string</RegistrationTime>
<FileType>string</FileType>
<test>string</test>
<ReferralClinicId>int</ReferralClinicId>
<ReferralDoctorId>int</ReferralDoctorId>
<Photo>string</Photo>
<MaritalStatus>string</MaritalStatus>
<Occupation>string</Occupation>
<WorkStatus>string</WorkStatus>
<FamilyID>int</FamilyID>
<DeActivate>boolean</DeActivate>
<ProofIdentity>string</ProofIdentity>
<CountryPermanenResidance>int</CountryPermanenResidance>
<KnowAboutUsId>int</KnowAboutUsId>
<Branch>int</Branch>
<Patient_Class>string</Patient_Class>
<Patient_Language>string</Patient_Language>
<MSC_Code>string</MSC_Code>
<LAC_Code>string</LAC_Code>
<RGC_Code>string</RGC_Code>
<KinName>string</KinName>
<KinContactNo>string</KinContactNo>
<RSC_Code>string</RSC_Code>
<opc_optout>string</opc_optout>
<opd_optdate>dateTime</opd_optdate>
<kinLastName>string</kinLastName>
<opc_mobcountrycode>string</opc_mobcountrycode>
<opc_kinmobcountrycode>string</opc_kinmobcountrycode>
<Remarks>string</Remarks>
<Referralfield>int</Referralfield>
<Citizenship>int</Citizenship>
<Patienttype>string</Patienttype>
<PassportNo>string</PassportNo>
<Signature>string</Signature>
<ResidentType>string</ResidentType>
<Medtype>int</Medtype>
<EnteredBy>int</EnteredBy>
<EnteredOn>dateTime</EnteredOn>
<DeletedBy>int</DeletedBy>
<DeletedOn>dateTime</DeletedOn>
<InActive>boolean</InActive>
<Status>int</Status>
<SendSMS>boolean</SendSMS>
<SendEmail>boolean</SendEmail>
<PatBitrixId>int</PatBitrixId>
<Companyname>int</Companyname>
<PatientLocation>string</PatientLocation>
</patientdetail>
<appointment>
<PatientAppointmentID>long</PatientAppointmentID>
<VisitDate>dateTime</VisitDate>
<DoctorId>int</DoctorId>
<TokenNo>string</TokenNo>
<FileNo>string</FileNo>
<Date>dateTime</Date>
<AppointmentNo>string</AppointmentNo>
<FirstName>string</FirstName>
<MiddleName>string</MiddleName>
<LastName>string</LastName>
<DOB>dateTime</DOB>
<Sex>string</Sex>
<Address>string</Address>
<Province>string</Province>
<ZIPCode>string</ZIPCode>
<NationalityId>int</NationalityId>
<CivilId>string</CivilId>
<Phone>string</Phone>
<Mobile>string</Mobile>
<Email>string</Email>
<Active>boolean</Active>
<IsConsulted>boolean</IsConsulted>
<VisitStatus>string</VisitStatus>
<eventstart>dateTime</eventstart>
<eventend>dateTime</eventend>
<PatientType>string</PatientType>
<WalkInTime>string</WalkInTime>
<Reason>string</Reason>
<ReferralClinicId>int</ReferralClinicId>
<ReferralDoctorId>int</ReferralDoctorId>
<ConsentPath>string</ConsentPath>
<InActive>boolean</InActive>
<SessionCode>string</SessionCode>
<ServiceTaken>int</ServiceTaken>
<SessionClose>string</SessionClose>
<EnteredBy>int</EnteredBy>
<EnteredOn>dateTime</EnteredOn>
<CancelledBy>int</CancelledBy>
<CancelledOn>dateTime</CancelledOn>
<SessionID>int</SessionID>
<UpdatedBy>int</UpdatedBy>
<UpdatedOn>dateTime</UpdatedOn>
<TreatmentDelete>boolean</TreatmentDelete>
<Reference>string</Reference>
<DeActivate>boolean</DeActivate>
<CancelReason>string</CancelReason>
<BranchCode>string</BranchCode>
<LeadId>int</LeadId>
<TechnologistId>int</TechnologistId>
<BeforeUpdating>string</BeforeUpdating>
<IS_LIS_Updated>boolean</IS_LIS_Updated>
<LIS_VisitID>string</LIS_VisitID>
<LIS_Status>string</LIS_Status>
<LIS_ReportURL>string</LIS_ReportURL>
<TechnologistStart>dateTime</TechnologistStart>
<TechnologistEnd>dateTime</TechnologistEnd>
<WitnessID>int</WitnessID>
<okadoclink>string</okadoclink>
<Is_SendTo_MotherLab>boolean</Is_SendTo_MotherLab>
<LIS_UID>guid</LIS_UID>
<Is_SendTo_Nabidh>boolean</Is_SendTo_Nabidh>
<appldate>dateTime</appldate>
<Parentappointmentid>long</Parentappointmentid>
<parenttype>string</parenttype>
<IsTransferCreation>boolean</IsTransferCreation>
<IsAddedToBetrix>boolean</IsAddedToBetrix>
<PatBitrixDealId>int</PatBitrixDealId>
<PatBitrixID>int</PatBitrixID>
</appointment>
<cards>
<patientcards>
<UploadedDate>dateTime</UploadedDate>
<ImageId>string</ImageId>
<Description>string</Description>
<ImageUrl>string</ImageUrl>
<ThumbNailImageUrl>string</ThumbNailImageUrl>
<PatientFileId>int</PatientFileId>
</patientcards>
<patientcards>
<UploadedDate>dateTime</UploadedDate>
<ImageId>string</ImageId>
<Description>string</Description>
<ImageUrl>string</ImageUrl>
<ThumbNailImageUrl>string</ThumbNailImageUrl>
<PatientFileId>int</PatientFileId>
</patientcards>
</cards>
<deduct>
<patientdeduction>
<deductid>int</deductid>
<SpecialityId>int</SpecialityId>
<Speciality>string</Speciality>
<Deduction>decimal</Deduction>
<EnteredOn>dateTime</EnteredOn>
<Active>boolean</Active>
</patientdeduction>
<patientdeduction>
<deductid>int</deductid>
<SpecialityId>int</SpecialityId>
<Speciality>string</Speciality>
<Deduction>decimal</Deduction>
<EnteredOn>dateTime</EnteredOn>
<Active>boolean</Active>
</patientdeduction>
</deduct>
<deductservice>
<patientdeductionsservice>
<serviceid>int</serviceid>
<SpecialityId>string</SpecialityId>
<Speciality>string</Speciality>
<Deduction>decimal</Deduction>
<EnteredOn>dateTime</EnteredOn>
<Active>boolean</Active>
</patientdeductionsservice>
<patientdeductionsservice>
<serviceid>int</serviceid>
<SpecialityId>string</SpecialityId>
<Speciality>string</Speciality>
<Deduction>decimal</Deduction>
<EnteredOn>dateTime</EnteredOn>
<Active>boolean</Active>
</patientdeductionsservice>
</deductservice>
<policy>
<PatientId>long</PatientId>
<PolicyId>long</PolicyId>
<PlanTypeId>string</PlanTypeId>
<CardNo>string</CardNo>
<InActive>boolean</InActive>
<ExpiryDate>dateTime</ExpiryDate>
<CompanyType>int</CompanyType>
<CompanyId>int</CompanyId>
<PlanType>string</PlanType>
<Deductible>decimal</Deductible>
<CertificateNo>string</CertificateNo>
<DependentNo>string</DependentNo>
<ClaimFormNo>string</ClaimFormNo>
<InsurerID>string</InsurerID>
<OP_Co_Pay>decimal</OP_Co_Pay>
<Dental_Co_Pay>decimal</Dental_Co_Pay>
<Maternity_Co_Pay>decimal</Maternity_Co_Pay>
<Optical_Co_Pay>decimal</Optical_Co_Pay>
<MinAmount>decimal</MinAmount>
<MaxAmount>decimal</MaxAmount>
<Laboratory_Co_Pay>decimal</Laboratory_Co_Pay>
<GeneralProcedure_Co_Pay>decimal</GeneralProcedure_Co_Pay>
<Radiology_Co_Pay>decimal</Radiology_Co_Pay>
<Vaccination_Co_Pay>decimal</Vaccination_Co_Pay>
<ENT_Co_Pay>decimal</ENT_Co_Pay>
<DRUG_Co_Pay>decimal</DRUG_Co_Pay>
<REIMBURSEMENT_Co_Pay>decimal</REIMBURSEMENT_Co_Pay>
<OP_Co_Pay_Amt>decimal</OP_Co_Pay_Amt>
<Dental_Co_Pay_Amt>decimal</Dental_Co_Pay_Amt>
<Maternity_Co_Pay_Amt>decimal</Maternity_Co_Pay_Amt>
<Optical_Co_Pay_Amt>decimal</Optical_Co_Pay_Amt>
<Laboratory_Co_Pay_Amt>decimal</Laboratory_Co_Pay_Amt>
<GeneralProcedure_Co_Pay_Amt>decimal</GeneralProcedure_Co_Pay_Amt>
<Radiology_Co_Pay_Amt>decimal</Radiology_Co_Pay_Amt>
<Vaccination_Co_Pay_Amt>decimal</Vaccination_Co_Pay_Amt>
<ENT_Co_Pay_Amt>decimal</ENT_Co_Pay_Amt>
<DRUG_Co_Pay_Amt>decimal</DRUG_Co_Pay_Amt>
<REIMBURSEMENT_Co_Pay_Amt>decimal</REIMBURSEMENT_Co_Pay_Amt>
<UpdatedBy>int</UpdatedBy>
<UpdatedOn>dateTime</UpdatedOn>
<PatientPolicyId>int</PatientPolicyId>
<Consumables_Co_Pay>decimal</Consumables_Co_Pay>
<Consumables_Co_Pay_Amt>decimal</Consumables_Co_Pay_Amt>
<FACILITYTYPE>int</FACILITYTYPE>
</policy>
<duemessage>string</duemessage>
</patientregister>
HTTP POST
The following is a sample HTTP POST request and response. The placeholders shown need to be replaced with actual values.
POST /webmethod/servicebill.asmx/selectpatient HTTP/1.1 Host: ayurcare_karama.docmate.app Content-Type: application/x-www-form-urlencoded Content-Length: length patientval=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length
<?xml version="1.0" encoding="utf-8"?>
<patientregister xmlns="http://tempuri.org/">
<patientdetail>
<PatientId>long</PatientId>
<FileNo>string</FileNo>
<Date>dateTime</Date>
<FirstName>string</FirstName>
<MiddleName>string</MiddleName>
<LastName>string</LastName>
<Sex>string</Sex>
<DOB>dateTime</DOB>
<Address>string</Address>
<Province>string</Province>
<ZIPCode>string</ZIPCode>
<Phone>string</Phone>
<Mobile>string</Mobile>
<Email>string</Email>
<IqamaNo>string</IqamaNo>
<NationalityId>int</NationalityId>
<IQAMADocumentPath>string</IQAMADocumentPath>
<PolicyDocumentPath>string</PolicyDocumentPath>
<Active>boolean</Active>
<VisitStatus>string</VisitStatus>
<DoctorId>long</DoctorId>
<PatientAppointmentID>long</PatientAppointmentID>
<RegistrationTime>string</RegistrationTime>
<FileType>string</FileType>
<test>string</test>
<ReferralClinicId>int</ReferralClinicId>
<ReferralDoctorId>int</ReferralDoctorId>
<Photo>string</Photo>
<MaritalStatus>string</MaritalStatus>
<Occupation>string</Occupation>
<WorkStatus>string</WorkStatus>
<FamilyID>int</FamilyID>
<DeActivate>boolean</DeActivate>
<ProofIdentity>string</ProofIdentity>
<CountryPermanenResidance>int</CountryPermanenResidance>
<KnowAboutUsId>int</KnowAboutUsId>
<Branch>int</Branch>
<Patient_Class>string</Patient_Class>
<Patient_Language>string</Patient_Language>
<MSC_Code>string</MSC_Code>
<LAC_Code>string</LAC_Code>
<RGC_Code>string</RGC_Code>
<KinName>string</KinName>
<KinContactNo>string</KinContactNo>
<RSC_Code>string</RSC_Code>
<opc_optout>string</opc_optout>
<opd_optdate>dateTime</opd_optdate>
<kinLastName>string</kinLastName>
<opc_mobcountrycode>string</opc_mobcountrycode>
<opc_kinmobcountrycode>string</opc_kinmobcountrycode>
<Remarks>string</Remarks>
<Referralfield>int</Referralfield>
<Citizenship>int</Citizenship>
<Patienttype>string</Patienttype>
<PassportNo>string</PassportNo>
<Signature>string</Signature>
<ResidentType>string</ResidentType>
<Medtype>int</Medtype>
<EnteredBy>int</EnteredBy>
<EnteredOn>dateTime</EnteredOn>
<DeletedBy>int</DeletedBy>
<DeletedOn>dateTime</DeletedOn>
<InActive>boolean</InActive>
<Status>int</Status>
<SendSMS>boolean</SendSMS>
<SendEmail>boolean</SendEmail>
<PatBitrixId>int</PatBitrixId>
<Companyname>int</Companyname>
<PatientLocation>string</PatientLocation>
</patientdetail>
<appointment>
<PatientAppointmentID>long</PatientAppointmentID>
<VisitDate>dateTime</VisitDate>
<DoctorId>int</DoctorId>
<TokenNo>string</TokenNo>
<FileNo>string</FileNo>
<Date>dateTime</Date>
<AppointmentNo>string</AppointmentNo>
<FirstName>string</FirstName>
<MiddleName>string</MiddleName>
<LastName>string</LastName>
<DOB>dateTime</DOB>
<Sex>string</Sex>
<Address>string</Address>
<Province>string</Province>
<ZIPCode>string</ZIPCode>
<NationalityId>int</NationalityId>
<CivilId>string</CivilId>
<Phone>string</Phone>
<Mobile>string</Mobile>
<Email>string</Email>
<Active>boolean</Active>
<IsConsulted>boolean</IsConsulted>
<VisitStatus>string</VisitStatus>
<eventstart>dateTime</eventstart>
<eventend>dateTime</eventend>
<PatientType>string</PatientType>
<WalkInTime>string</WalkInTime>
<Reason>string</Reason>
<ReferralClinicId>int</ReferralClinicId>
<ReferralDoctorId>int</ReferralDoctorId>
<ConsentPath>string</ConsentPath>
<InActive>boolean</InActive>
<SessionCode>string</SessionCode>
<ServiceTaken>int</ServiceTaken>
<SessionClose>string</SessionClose>
<EnteredBy>int</EnteredBy>
<EnteredOn>dateTime</EnteredOn>
<CancelledBy>int</CancelledBy>
<CancelledOn>dateTime</CancelledOn>
<SessionID>int</SessionID>
<UpdatedBy>int</UpdatedBy>
<UpdatedOn>dateTime</UpdatedOn>
<TreatmentDelete>boolean</TreatmentDelete>
<Reference>string</Reference>
<DeActivate>boolean</DeActivate>
<CancelReason>string</CancelReason>
<BranchCode>string</BranchCode>
<LeadId>int</LeadId>
<TechnologistId>int</TechnologistId>
<BeforeUpdating>string</BeforeUpdating>
<IS_LIS_Updated>boolean</IS_LIS_Updated>
<LIS_VisitID>string</LIS_VisitID>
<LIS_Status>string</LIS_Status>
<LIS_ReportURL>string</LIS_ReportURL>
<TechnologistStart>dateTime</TechnologistStart>
<TechnologistEnd>dateTime</TechnologistEnd>
<WitnessID>int</WitnessID>
<okadoclink>string</okadoclink>
<Is_SendTo_MotherLab>boolean</Is_SendTo_MotherLab>
<LIS_UID>guid</LIS_UID>
<Is_SendTo_Nabidh>boolean</Is_SendTo_Nabidh>
<appldate>dateTime</appldate>
<Parentappointmentid>long</Parentappointmentid>
<parenttype>string</parenttype>
<IsTransferCreation>boolean</IsTransferCreation>
<IsAddedToBetrix>boolean</IsAddedToBetrix>
<PatBitrixDealId>int</PatBitrixDealId>
<PatBitrixID>int</PatBitrixID>
</appointment>
<cards>
<patientcards>
<UploadedDate>dateTime</UploadedDate>
<ImageId>string</ImageId>
<Description>string</Description>
<ImageUrl>string</ImageUrl>
<ThumbNailImageUrl>string</ThumbNailImageUrl>
<PatientFileId>int</PatientFileId>
</patientcards>
<patientcards>
<UploadedDate>dateTime</UploadedDate>
<ImageId>string</ImageId>
<Description>string</Description>
<ImageUrl>string</ImageUrl>
<ThumbNailImageUrl>string</ThumbNailImageUrl>
<PatientFileId>int</PatientFileId>
</patientcards>
</cards>
<deduct>
<patientdeduction>
<deductid>int</deductid>
<SpecialityId>int</SpecialityId>
<Speciality>string</Speciality>
<Deduction>decimal</Deduction>
<EnteredOn>dateTime</EnteredOn>
<Active>boolean</Active>
</patientdeduction>
<patientdeduction>
<deductid>int</deductid>
<SpecialityId>int</SpecialityId>
<Speciality>string</Speciality>
<Deduction>decimal</Deduction>
<EnteredOn>dateTime</EnteredOn>
<Active>boolean</Active>
</patientdeduction>
</deduct>
<deductservice>
<patientdeductionsservice>
<serviceid>int</serviceid>
<SpecialityId>string</SpecialityId>
<Speciality>string</Speciality>
<Deduction>decimal</Deduction>
<EnteredOn>dateTime</EnteredOn>
<Active>boolean</Active>
</patientdeductionsservice>
<patientdeductionsservice>
<serviceid>int</serviceid>
<SpecialityId>string</SpecialityId>
<Speciality>string</Speciality>
<Deduction>decimal</Deduction>
<EnteredOn>dateTime</EnteredOn>
<Active>boolean</Active>
</patientdeductionsservice>
</deductservice>
<policy>
<PatientId>long</PatientId>
<PolicyId>long</PolicyId>
<PlanTypeId>string</PlanTypeId>
<CardNo>string</CardNo>
<InActive>boolean</InActive>
<ExpiryDate>dateTime</ExpiryDate>
<CompanyType>int</CompanyType>
<CompanyId>int</CompanyId>
<PlanType>string</PlanType>
<Deductible>decimal</Deductible>
<CertificateNo>string</CertificateNo>
<DependentNo>string</DependentNo>
<ClaimFormNo>string</ClaimFormNo>
<InsurerID>string</InsurerID>
<OP_Co_Pay>decimal</OP_Co_Pay>
<Dental_Co_Pay>decimal</Dental_Co_Pay>
<Maternity_Co_Pay>decimal</Maternity_Co_Pay>
<Optical_Co_Pay>decimal</Optical_Co_Pay>
<MinAmount>decimal</MinAmount>
<MaxAmount>decimal</MaxAmount>
<Laboratory_Co_Pay>decimal</Laboratory_Co_Pay>
<GeneralProcedure_Co_Pay>decimal</GeneralProcedure_Co_Pay>
<Radiology_Co_Pay>decimal</Radiology_Co_Pay>
<Vaccination_Co_Pay>decimal</Vaccination_Co_Pay>
<ENT_Co_Pay>decimal</ENT_Co_Pay>
<DRUG_Co_Pay>decimal</DRUG_Co_Pay>
<REIMBURSEMENT_Co_Pay>decimal</REIMBURSEMENT_Co_Pay>
<OP_Co_Pay_Amt>decimal</OP_Co_Pay_Amt>
<Dental_Co_Pay_Amt>decimal</Dental_Co_Pay_Amt>
<Maternity_Co_Pay_Amt>decimal</Maternity_Co_Pay_Amt>
<Optical_Co_Pay_Amt>decimal</Optical_Co_Pay_Amt>
<Laboratory_Co_Pay_Amt>decimal</Laboratory_Co_Pay_Amt>
<GeneralProcedure_Co_Pay_Amt>decimal</GeneralProcedure_Co_Pay_Amt>
<Radiology_Co_Pay_Amt>decimal</Radiology_Co_Pay_Amt>
<Vaccination_Co_Pay_Amt>decimal</Vaccination_Co_Pay_Amt>
<ENT_Co_Pay_Amt>decimal</ENT_Co_Pay_Amt>
<DRUG_Co_Pay_Amt>decimal</DRUG_Co_Pay_Amt>
<REIMBURSEMENT_Co_Pay_Amt>decimal</REIMBURSEMENT_Co_Pay_Amt>
<UpdatedBy>int</UpdatedBy>
<UpdatedOn>dateTime</UpdatedOn>
<PatientPolicyId>int</PatientPolicyId>
<Consumables_Co_Pay>decimal</Consumables_Co_Pay>
<Consumables_Co_Pay_Amt>decimal</Consumables_Co_Pay_Amt>
<FACILITYTYPE>int</FACILITYTYPE>
</policy>
<duemessage>string</duemessage>
</patientregister>